import { MyRequest, request } from '@/plugins'

export const getChartsApi = () => request({ method: 'GET', url: '/api/v1/rule/chart/normal' })

export const getRuleTrendApi = (data: any) => request({ method: 'GET', url: '/api/v1/rule/chart/rule/statistics', params: data })

export const getRuleStatisticApi = (data: any) => request({ method: 'GET', url: '/api/v1/rule/chart/rule/change/trend', params: data })

export const getRulePackApi = (data: any) => MyRequest({ method: 'GET', url: '/api/v1/rule/chart/rule/pack', params: data })

